<?php

// +----------------------------------------------------------------------
// | 简易CMS
// +----------------------------------------------------------------------
// | Copyright (C) 2010 Hoping Software Studio.
// +----------------------------------------------------------------------
// | Version $Id$
// +----------------------------------------------------------------------
return [
    // 默认控制器名
    'default_controller' => 'Article',
    // 默认操作名
    'default_action'     => 'index',
    'view'               => array_merge(C('view'), [
        'parse_str' => [
            '__ROOT__'   => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1),
            '__STATIC__' => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static',
            '__CSS__'    => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static/' . MODULE_NAME . '/css',
            '__IMG__'    => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static/' . MODULE_NAME . '/images',
            '__JS__'     => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static/' . MODULE_NAME . '/js',
        ],
    ]),
    //
];
